package com.ceair.flight.refund.service.appmobile;

import com.ceair.flight.refund.dto.appmoblie.AddAttachmentRes;
import com.ceair.flight.refund.dto.appmoblie.CalculateFeeReq;
import com.ceair.flight.refund.dto.appmoblie.CalculateFeeRes;
import com.ceair.flight.refund.dto.appmoblie.ChangePersonPhoneReq;
import com.ceair.flight.refund.dto.appmoblie.ChangePersonPhoneRes;
import com.ceair.flight.refund.dto.ota.RefundAttachmentReq;

import javax.jws.WebService;
import javax.ws.rs.Consumes;
import javax.ws.rs.core.MediaType;

@WebService
@Consumes({ MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML })
public interface IAppRefundService {
    /**
     * 修改联系人手机号
     */
    public ChangePersonPhoneRes changePersonPhone(ChangePersonPhoneReq req);

    /**
     * 重新提交申请:在退票审核被拒绝之后，重新发起退票申请
     */
    public CalculateFeeRes reapply(CalculateFeeReq req);

    /**
     * 非自愿退货被拒绝后转自愿退票
     */
    public CalculateFeeRes recalcfee(CalculateFeeReq req);

    /**
     * 上传附件
     * @param req
     * @return
     */
    AddAttachmentRes addAttachment(RefundAttachmentReq req);

    public void test(String string);

}
